package com.sunny.ihealth.entity.bmob;

import cn.bmob.v3.BmobObject;

/**
 * 喜欢帖子的表
 * Created by Sunny  An on 2016/6/2.
 */
public class Like extends BmobObject {

    private UserInfo user;
    private Post post;
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Like(UserInfo user, Post post) {
        this.user = user;
        this.post = post;
    }

    public Like() {

    }

    public Like(String tableName, UserInfo user, Post post) {
        super(tableName);
        this.user = user;
        this.post = post;
    }

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }

    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }
}
